package com.corgi.webservice.service;

import com.corgi.webservice.adapter.XmlMapAdapter;

import javax.jws.WebMethod;
import javax.jws.WebService;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import java.util.List;
import java.util.Map;

/**
 * @title: MapService
 * @description:
 * @author: dengmiao
 * @create: 2019-10-12 09:17
 **/
@WebService
public interface MapService {

	/**
	 * values
	 * @XmlJavaTypeAdapter标识返回值为Map的接口
	 * @param param
	 * @return
	 */
	@WebMethod
	@XmlJavaTypeAdapter(XmlMapAdapter.class)
	List<Map> values(String param);
}
